package com.example.exp3.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class pages {

    @GetMapping("/main")
    @ResponseBody
    public String mainPage(){
        System.out.println("main");
        return "main";
    }
}
